Verify Properties of Mobile Code

نویسنده

  • Songtao Xia
چکیده

Given a program and a speci cation, you may want to verify mechanically and e ciently that this program satis es the speci cation. Software veri cation techniques typically involve theorem proving. If a formal speci cation is easily available, consumption of computational resources is a major issue. Meanwhile, we shall not overlook the psychological factors. Often, you need extra expertise to verify a program. Tools that can automatically verify programs are helpful. On the other hand, ubiquitous computing has made the correctness of a program both a security and a performance issue. If you run a piece of mobile code on your machine, you will expect that the code does not access storages unlawfully. To make sure bad things won't happen, performance is sacric ed. If programs are written in an intermediate language that is able to capture and verify properties mentioned above, your host machine will bene t from it. My research focuses on providing a typetheoretic solution to the veri cation of mobile programs. One of our primary tools is index types. Index types are a form of non-traditional types. An index type system extends the type system of a language with indices and predicates on those indices. Index types can express properties of program. To type check a program annotated with index types, we often will call an external decision procedure. Another concept used is the proof-carrying code. One of the major advantages of proof-carrying code is that a lot of theorem proving is shifted ofine. When w e use proof-carrying code to verify a property, the time spent on veri cation is mainly on proof-checking, which is considerably cheaper than theorem proving. W e rst started working on static array bounds checking problem on index-typed Java bytecode. The goal is to for a code consumer to discover statically that some array accesses are safe and can relief the running time checking. W e understand that static array bounds analysis is not decidable. W e will stick to run-time check if static checking fails to give an a rmative answer. In the index-typed bytecode and in proofcarrying code in general, the properties concerned are mainly about a state, instead of a path. For two reasons we are interested in the properties on paths and model-checking. First, data ow analysis problems can be represented as a model-checking problem on an abstracted controlow diagram. This approach allows us to use model-checking as a generic algorithms to analyze a program. Second, certain temporal properties, such as the deadlock freedom, are traditionally veri ed by model-checking. Model-checking is computational expensive due to space explosion problem. Using abstraction can reduce the state space so that we can model-check an abstract state space quicker than checking concrete state space. Computation of an abstraction, however, takes large percent of time in the veri cation process. Thus, if we establish a valid (and useful) abstraction, we can speed up the consequent model-checking even to such a level that the veri cation can be done on-they, something not achieved before. When this note is written, we are working on a framework that utilizes proof-carrying code to assist model-checking at a client machine. W e also plan to use a type system to formualte the timing requirement of a piece of code.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Safe Robot Control in the Intelligent Space using Mobile Code Technology

This paper describes how the safe mobile code technology can be integrated into the Intelligent Space environment. In the Intelligent Space, several Distributed Intelligent Network Devices communicate and share their information about a human environment. In this environment mobile robots can be controlled with mobile code technology. The mobile code is a program-component obtained from a remot...

متن کامل

Verified Mobile Code Repository in the Intelligent Space

The Intelligent Space (iSpace) [6] is a space (room or corridor) containing several communicating Distributed Intelligent Network Devices (DINDs) which share their information about a human environment. A DIND consists of three basic elements, the sensor to monitor the dynamic environment of the DIND (which contains people, vehicles and robots, etc.), the processor (computer) to process the cap...

متن کامل

ENTROPY OF GEODESIC FLOWS ON SUBSPACES OF HECKE SURFACE WITH ARITHMETIC CODE

There are dierent ways to code the geodesic flows on surfaces with negative curvature. Such code spaces give a useful tool to verify the dynamical properties of geodesic flows. Here we consider special subspaces of geodesic flows on Hecke surface whose arithmetic codings varies on a set with innite alphabet. Then we will compare the topological complexity of them by computing their topological ...

متن کامل

Poster Presentation: Abstract Interpretation-based Mobile Code Certification

Current approaches to mobile code safety—inspired by the technique of Proof-Carrying Code (PCC) [4]—associate safety information (in the form of a certifícate) to programs. The certifícate (or proof) is created by the code supplier at compile time, and packaged along with the untrusted code. The consumer who receives the code+certiñcate package can then run a checker which, by a straightforward...

متن کامل

ارائه یک رویکرد همانند سازی شده عامل محور در اجرای یک الگوی کد متحرک مطمئن

Abstract Using mobile agents, it is possible to bring the code close to the resources, which is not foreseen by the traditional client/server paradigm. Compared to the client/server computing paradigm, the greater flexibility of the mobile agent paradigm comes at additional costs as well as the additional complexity of developing and managing mobile agent-based applications. Such complexity ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001